Maintain a shared variable across all test iterations in a load test 在負(fù)載測(cè)試中的所有測(cè)試迭代間維護(hù)一個(gè)共享變量。
Locks around shared variables allow java threads to quickly and easily communicate and synchronize 給共享變量上鎖就使得java線(xiàn)程能夠快速方便地通信和同步。
Some very strange things can happen if you fail to synchronize when accessing shared variables 如果在訪(fǎng)問(wèn)共享變量的時(shí)候沒(méi)有同步的話(huà),就會(huì)發(fā)生一些奇怪的事情。
You will be able to share variables among the scripted action script and the prefix and suffix scripts 可以在scripted action腳本與前綴腳本和后綴腳本間共享變量。
In the preceding example , the compiler generates a warning message both times the code accesses the shared variable 在前面的示例中,編譯器在代碼通過(guò)實(shí)例訪(fǎng)問(wèn)共享變量